package com.amqp.demo.config;

import org.springframework.amqp.core.AmqpAdmin;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class AmqpConfig {

    private final AmqpAdmin amqpAdmin;

    private final AmqpTemplate amqpTemplate;

    public AmqpConfig(AmqpAdmin amqpAdmin, AmqpTemplate amqpTemplate) {
        this.amqpAdmin = amqpAdmin;
        this.amqpTemplate = amqpTemplate;
    }
}
